import request from "@/utils/request";

// 查询左心房客户推送信息列表
export function listBizCustomer(query) {
  return request({
    url: "/biz/bizCustomer/list",
    method: "get",
    params: query,
  });
}

// 查询左心房客户推送信息详细
export function getBizCustomer(id) {
  return request({
    url: "/biz/bizCustomer/" + id,
    method: "get",
  });
}

// 新增左心房客户推送信息
export function addBizCustomer(data) {
  return request({
    url: "/biz/bizCustomer",
    method: "post",
    data: data,
  });
}
//

// 修改左心房客户推送信息
export function updateBizCustomer(data) {
  return request({
    url: "/biz/bizCustomer",
    method: "put",
    data: data,
  });
}

// 删除左心房客户推送信息
export function delBizCustomer(id) {
  return request({
    url: "/biz/bizCustomer/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizCustomer/findMaxSort",
    method: "get",
  });
}
// 导出左心房客户推送信息
export function exportBizCustomer(query) {
  return request({
    url: "/biz/bizCustomer/export",
    method: "get",
    params: query,
  });
}

// manualShare
export function manualShare(query) {
  return request({
    url: "/biz/bizCustomer/manualShare",
    method: "get",
    params: query,
  });
}
